projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc40569
)
Add comment about missing way to get symbolic icons for bookmarks
author
Federico Mena Quintero
<federico@gnome.org>
Fri, 19 Oct 2012 17:26:40 +0000
(12:26 -0500)
committer
Federico Mena Quintero
<federico@gnome.org>
Fri, 19 Oct 2012 17:26:40 +0000
(12:26 -0500)
Nautilus got the ability to do that in commit
0ed400b9c1692e42498bff3c10780073ec137f63
.
Maybe we should just copy that code to here later.
gtk/gtkplacessidebar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacessidebar.c
b/gtk/gtkplacessidebar.c
index c8b27efb173c6de9ea01d7d5e44c7d0c32ed1f9e..7f1bcfa6013039b69fde8134d08ebf9b3a708bc9 100644
(file)
--- a/
gtk/gtkplacessidebar.c
+++ b/
gtk/gtkplacessidebar.c
@@
-971,6
+971,10
@@
update_places (GtkPlacesSidebar *sidebar)
if (bookmark_name == NULL)
bookmark_name = g_strdup (g_file_info_get_display_name (info));
+ /* FIXME: in commit 0ed400b9c1692e42498bff3c10780073ec137f63, nautilus added the ability
+ * to get a symbolic icon for bookmarks. We don't have that machinery. Should we
+ * just copy that code?
+ */
icon = g_file_info_get_icon (info);
mount_uri = g_file_get_uri (root);